开始时间: 2020-04-02 13:32:14
耗时: 0:08:10.369228
状态: Failure:4 通过率:0.0%
社会化服务测试报告
| 测试组/测试用例 | 总数 | 通过 | 失败 | 错误 | 视图 | 错误截图 |
|---|---|---|---|---|---|---|
| test_case_app.test_booking.TestBooking | 2 | 0 | 2 | 0 | 详情 | |
testBooking_1 |
失败
ft1.1.1: INFO:log:========select region=========
INFO:log:============login_action==============
INFO:log:username is:17708179510
INFO:log:password is:123456
INFO:log:click loginBtn
INFO:log:login finished!
INFO:log:======test_booking=====
ERROR:root:-------no element---------
screenshot: 20200402_13.36.24 .png
screenshot: 20200402_13.36.44 .png
Traceback (most recent call last):
File "E:\shhfw\test_case_app\test_booking.py", line 30, in testBooking
a.booking_action(data['编号'],data['服务类型'],data["服务名称"],data["服务数量"],'17708179510')
File "E:\shhfw\businessView_app\bookingView.py", line 57, in booking_action
self.driver.find_element(*self.yuyueBtn).click()
selenium.common.exceptions.NoSuchElementException: Message: An element could not be located on the page using the given search parameters.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\cpt\AppData\Local\Programs\Python\Python37\lib\site-packages\ddt.py", line 145, in wrapper
return func(self, *args, **kwargs)
File "E:\shhfw\test_case_app\test_booking.py", line 40, in testBooking
self.assertTrue(False)
AssertionError: False is not true
|
显示截图 | ||||
testBooking_2 |
失败
ft1.1.2: INFO:log:========select region=========
INFO:log:============login_action==============
INFO:log:username is:17708179510
INFO:log:password is:123456
INFO:log:click loginBtn
INFO:log:login finished!
INFO:log:======test_booking=====
ERROR:root:-------no element---------
screenshot: 20200402_13.39.49 .png
screenshot: 20200402_13.40.08 .png
Traceback (most recent call last):
File "E:\shhfw\test_case_app\test_booking.py", line 30, in testBooking
a.booking_action(data['编号'],data['服务类型'],data["服务名称"],data["服务数量"],'17708179510')
File "E:\shhfw\businessView_app\bookingView.py", line 57, in booking_action
self.driver.find_element(*self.yuyueBtn).click()
selenium.common.exceptions.NoSuchElementException: Message: An element could not be located on the page using the given search parameters.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\cpt\AppData\Local\Programs\Python\Python37\lib\site-packages\ddt.py", line 145, in wrapper
return func(self, *args, **kwargs)
File "E:\shhfw\test_case_app\test_booking.py", line 40, in testBooking
self.assertTrue(False)
AssertionError: False is not true
|
显示截图 | ||||
| test_case_business.test_processing_order_xq.TestprocessingOderXq | 2 | 0 | 2 | 0 | 详情 | |
testProcessingOderXq_1 |
失败
ft1.2.1: INFO:log:============login_action==============
INFO:log:username is:17708179512
screenshot: 20200402_13.32.42 .png
Traceback (most recent call last):
File "E:\shhfw\test_case_business\test_processing_order_xq.py", line 37, in testProcessingOderXq
l.login_action('17708179512','qq2883595')
File "E:\shhfw\businessView_business\loginView.py", line 17, in login_action
self.driver.find_element(*self.username_type).send_keys(username)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"id","selector":"username"}
(Session info: chrome=72.0.3626.121)
(Driver info: chromedriver=72.0.3626.69 (3c16f8a135abc0d4da2dff33804db79b849a7c38),platform=Windows NT 10.0.10240 x86_64)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\cpt\AppData\Local\Programs\Python\Python37\lib\site-packages\ddt.py", line 145, in wrapper
return func(self, *args, **kwargs)
File "E:\shhfw\test_case_business\test_processing_order_xq.py", line 53, in testProcessingOderXq
self.assertTrue(False)
AssertionError: False is not true
|
显示截图 | ||||
testProcessingOderXq_2 |
失败
ft1.2.2: INFO:log:============login_action==============
INFO:log:username is:17708179512
screenshot: 20200402_13.33.04 .png
Traceback (most recent call last):
File "E:\shhfw\test_case_business\test_processing_order_xq.py", line 37, in testProcessingOderXq
l.login_action('17708179512','qq2883595')
File "E:\shhfw\businessView_business\loginView.py", line 17, in login_action
self.driver.find_element(*self.username_type).send_keys(username)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"id","selector":"username"}
(Session info: chrome=72.0.3626.121)
(Driver info: chromedriver=72.0.3626.69 (3c16f8a135abc0d4da2dff33804db79b849a7c38),platform=Windows NT 10.0.10240 x86_64)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\cpt\AppData\Local\Programs\Python\Python37\lib\site-packages\ddt.py", line 145, in wrapper
return func(self, *args, **kwargs)
File "E:\shhfw\test_case_business\test_processing_order_xq.py", line 53, in testProcessingOderXq
self.assertTrue(False)
AssertionError: False is not true
|
显示截图 | ||||
| 统计 | 4 | 0 | 4 | 0 | ||